<template>
  <div style="height: 100%">
    <!-- <router-view></router-view> -->

    <!-- <transition name="fade-transform" mode="out-in">
      <router-view v-if="!$route.meta.keepAlive" :key="key" style="height:100%"></router-view>
    </transition> -->
    <!-- <transition name="fade-transform" mode="out-in"> -->
    <keep-alive :key="key">
      <!-- <router-view include="crimeSceneList,home,statistics" style="height:100%"></router-view> -->
      <router-view style="height: 100%"></router-view>
    </keep-alive>
    <!-- </transition> -->
  </div>
</template>

<script>
export default {
  computed: {
    key() {
      return this.$route.path;
    },
  },
};
</script>

<style lang="scss" scoped>
</style>